#include <memory>
#include "EpollServer.hpp"

void change(string request)
{
    // 这里进行业务处理
    cout << "change: " << request << endl;
}

int main()
{
    std::unique_ptr<EpollServer> src(new EpollServer(change));
    src->start();
    return 0;
}